BIN=processbar
src=$(shell ls *.c)
obj=$(src:.c=.o)

$(BIN):$(obj)
	@gcc -o $@ $^
%.o:%.c
	@gcc -c $<
.PHONY:clean
clean:
	@rm -rf $(obj) $(BIN)
